package com.fc.mall.mapper;

import com.fc.mall.model.PmsProductBargain;
import com.fc.mall.model.PmsProductBargainExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PmsProductBargainMapper {
    int countByExample(PmsProductBargainExample example);

    int deleteByExample(PmsProductBargainExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsProductBargain record);

    int insertSelective(PmsProductBargain record);

    List<PmsProductBargain> selectByExample(PmsProductBargainExample example);

    PmsProductBargain selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsProductBargain record, @Param("example") PmsProductBargainExample example);

    int updateByExample(@Param("record") PmsProductBargain record, @Param("example") PmsProductBargainExample example);

    int updateByPrimaryKeySelective(PmsProductBargain record);

    int updateByPrimaryKey(PmsProductBargain record);
}